package service;

public class Car2 {
    private  String name;
    public void start(){
        System.out.println("车辆正在启动");
    }
    public void run(){
        System.out.println("车辆正在行驶");
    }
    public void stop(){
        System.out.println("车辆停止运行");
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
